// Decompiled by GOOSIN CO,LTD Copyright 2010 Pavel Kouznetsov.
// home page: http://www.Goosin.net
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   Divide.java

package include.nseer_cookie;


public class Divide
{

	public Divide()
	{
	}

	public static String getId(String chain)
	{
		if (chain.indexOf("/") != -1)
			return chain.split("/")[0];
		else
			return chain;
	}

	public static String getName(String chain)
	{
		if (chain.indexOf("/") != -1)
			return chain.substring(chain.split("/")[0].length() + 1);
		else
			return chain;
	}
}
